#flume启动脚本
/training/flume/bin/flume-ng agent \
--conf /training/flume/conf \
--conf-file $1 \
--name a1 \
-Dflume.root.logger=INFO,console


if [ $? -eq 0 ]; then
  echo "Flume已启动"
else
  echo "Flume启动失败"
fi 
